<div ag-Window id="edit_notice" title="通知编辑-{{cms_document.editRow.title}}" width='1200px' height='600px'>
    <div class="zs-form-tab ibox">
    	<form name="form_notice" novalidate>
		    <table width="100%">
		        <tbody>
		        	<tr>
                        <td class="text" width="15%">*所属栏目</td>
                        <td class="left" width="35%">
                        	<label ng-bind="cms_document_column.editRow.columnName"></label>
                        </td>
                        <td class="text" width="15%">所属专题</td>
                        <td class="left" width="35%">
                        	<span>
			                    <ag-Combotree class="zs-input" style="width:395px;height: 28px" 
									para="{ uDictionary:true,
											dictionary:'cms_subject',
											pidField:'pid',
                    						leafField:'leaf'}"
									ng-model="cms_document.editRow.subject"
									text-Value="cms_document.editRow.subjectName"/>
                        	</span>
						</td>
                    </tr>
                    <tr>
                        <td class="text" width="15%">*标题</td>
                        <td colspan="3" class="left" width="85%"><input type="text"
                            class="zs-input" ng-model="cms_document.editRow.title"></td>
                    </tr>
                 	<tr>
                        <td class="text" width="15%">通知</td>
                        <td colspan="3" class="left" width="85%">
                            <textarea type="text" rows="3" style="resize:none;height:300px;" 
                                class="zs-input" ng-model="cms_document.editRow.text"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td class="text" width="15%">状态</td>
                        <td colspan="3" class="left" width="85%">
                        	<ag-Combobox class="zs-input" style="width:395px;height: 28px" 
								para="{ uDictionary:true,
										dictionary:'cms_document_static'}"
								ng-model="cms_document.editRow.state"
								text-Value="cms_document.editRow.stateName"/>
                        </td>
                    </tr>
                    <tr>
                    	<td class="text" width="15%">发布人</td>
                        <td class="left" width="35%"><input type="text"
                            ng-model="cms_document.editRow.release"
                            class="zs-input"></td>
                        <td class="text" width="15%">发布时间</td>
                        <td class="left" width="35%">
                        	<ag-Datebox id='publishDate'  showcurday='true'
                        		class="zs-input" style="width:395px;height: 28px"
                        		ng-model="cms_document.editRow.publishDate"></ag-Datebox>
                        </td>
                    </tr>
		        </tbody>
		        <tfoot>
		            <tr>
		                <td colspan="4">
		                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
		                    	ng-click="formValidate(form_notice) && saveAdd('cms_document', cms_document.editRow, 'edit_notice')"/>
		                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
		                    	ng-click="closeWindow('edit_notice')" />
		                </td>
		            </tr>
		        </tfoot>
		    </table>
		</form>
	</div>
</div>